package com.ws.service.impl;

import com.ws.bean.User;
import com.ws.mapper.QianTaiMapper;
import com.ws.service.QianTaiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class QianTaiServiceImpl implements QianTaiService {
    @Autowired
    QianTaiMapper qianTaiMapper;

    @Override
    public int zhuce(User user) {
        return qianTaiMapper.zhuce(user);
    }

    @Override
    public User login(String user_name) {
        return qianTaiMapper.login(user_name);
    }

    @Override
    public int update(User user) {
        return qianTaiMapper.update(user);
    }
}
